import type { TableProps, FormProps } from 'antd'

export interface BaseProps {
  className?: string
  style?: React.CSSProperties
}

export interface ProTableProps<T> extends TableProps<T> {
  loading?: boolean
  showTotal?: boolean
}

export interface ProFormProps extends FormProps {
  onFinish?: (values: any) => Promise<void> | void
  onReset?: () => void
  submitter?: false | {
    submitText?: string
    resetText?: string
    submitButtonProps?: Record<string, any>
    resetButtonProps?: Record<string, any>
  }
  loading?: boolean
}

// ... 其他类型定义 